﻿
<script type="text/javascript">
    $('.chzn-drop').css('left', '0px');
    $('.chzn-drop').css('display', 'none');
    $('.chzn-single').on("click", function (e) {
        $(this).toggleClass('chzn-single-with-drop');
        $(this).next().toggleClass('visible');
        e.preventDefault();
    });
</script>

<style>
    .visible {
        display: block !important;
    }

    .chzn-results li:hover {
        background-color: #df4a43;
        color: white;
    }

    .form-group {
        width: 89%;
        text-align: left;
        margin: 0 auto;
    }

    .btn-fullcolor {
        width: 150px;
    }

    .pattern-bg{
        background-image: url("../images/banners/Calculator/conversion-calculator.jpg");
        background-size: cover;
    }
    .pattern-bg.colored-bg:before{
        background-color: rgba(0,0,0,0.6);
    }

</style>

<!-- BEGIN PAGE TITLE/BREADCRUMB -->
<div class="parallax colored-bg pattern-bg" data-stellar-background-ratio="0.5">
    <div class="container">
        <div class="row">
            <div class="col-sm-12">
                <h1 class="page-title">Unit Conversion Calculator</h1>

                <!--<ul class="breadcrumb">
                    <li><a href="index.html">Home </a></li>
                    <li><a href="#">Properties</a></li>
                    <li><a href="properties-grid.html">Property Grid Listing</a></li>
                </ul>-->
            </div>
        </div>
    </div>
</div>
<!-- END PAGE TITLE/BREADCRUMB -->
<!-- BEGIN HOME ADVANCED SEARCH (class="gray" for a gray background) -->

<div id="advanced-search" class="gray open">
    <div class="container">
        <div class="row">
            <div class="col-md-12" style="margin-top:20px;">
                <h3 style="font-size:17px;">For specific advice on legal, financial or real estate matters, you should always seek the advice of a professional who is licensed and knowledgeable in that area, such as an attorney, accountant,real estate agent or Banker.</h3>
            </div>
        </div>
        <form class="row">
            <form class="col-sm-12">

               

                <div class="form-control-small">
                    <div id="search_bedrooms_chzn" class="chzn-container chzn-container-single chzn-container-single-nosearch" style="width: 38.199px;" title="">
                        <a ng-click="itemChanged = true" href="javascript:void(0)" class="chzn-single chzn-default" tabindex="-1">
                            <span>{{ itemName }}</span><div><b></b></div>
                        </a>
                        <div ng-show="itemChanged == true" class="chzn-drop" style="left:-9000px;">
                            <div class="chzn-search">
                                <input type="text" autocomplete="off">
                            </div>

                            <ul class="chzn-results">
                                <li class="active-result" ng-repeat="item in listName"
                                    ng-click="selectItem(false,$index)" ng-model="selectedItem" ng-change="changePage()" ng-init="initSelect();">
                                    {{ item }}


                                </li>
                            </ul>
                            <!--<select ng-model="selectedItem" ng-repeat=" in convertList"

                        class="form-control"
                        ng-click="selectItem(false)">
                    </select>-->
                        </div>
                    </div>
                </div>



                <div class="form-control-large">
                    <label>{{ selectedItem.base }}</label>
                    <input id="txtCard" type="number" placeholder="0.00" class="form-control" ng-model="baseInput" tabindex="2" style="width: 100%" ng-keyup="inputKeyUp();" />
                </div>

                <div class="form-control-large">
                    <label>{{ selectedItem.convertUnit }}</label>
                    <input id="txtCard" type="number" placeholder="0.00" class="form-control" ng-model="baseOutput" tabindex="2" style="width: 100%" ng-keyup="outputKeyUp()" />
                </div>

                <!--<div class="form-control-large">
            <h3>Conversion Formula</h3>
            <h4>
                1 Hectare = 2.471 Acres
            </h4>
            <h4>
                1 Acre = 43560 Sq Feet
            </h4>
            <h4>
                1 Acre = 4046.86 Meter Sq
            </h4>
            <h4>
                1 Relong = 30976 Sq Feet
            </h4>
            <h4>
                1 Meter Sq = 10.7639 Sq Feet
            </h4>
            <h4>
                1 Rantai= 66 Feet
            </h4>
            <h4>
                1 Meter = 3.281 Feet
            </h4>
            <h4>
                1 Milimet
            er = 0.003281 Feet
            </h4>
            <h4>
                1 Link = 0.66 Feet
            </h4>
        </div>-->
                <!--<div class="form-control-small">
             <div id="search_status_chzn" class="chzn-container chzn-container-single chzn-container-single-nosearch" style="width: 77.4031px;" title="">
                 <a ng-click="districtChanged = true" href="javascript:void(0)" class="chzn-single chzn-default" tabindex="-1">
                     <span>{{ districtName }}</span><div><b></b></div>
                 </a>
                 <div ng-show="districtChanged == true" class="chzn-drop" style="left:-9000px;">
                     <div class="chzn-search"><input type="text" autocomplete="off"></div>
                     <ul class="chzn-results">
                         <li ng-repeat="d in districts" id="search_status_chzn_o_1" class="active-result"
                             ng-mousedown="updateLocation(d,false);">{{ d }}</li>
                         <li id="search_status_chzn_o_2" class="active-result" style="">For Rent</li>
                     </ul>
                 </div>
             </div>
        </div>-->
                <!--   <button ng-click="search()" type="submit" class="btn btn-fullcolor">Search</button>
        -->
            </form>
          </form>

      </div>
</div>

<!-- END HOME ADVANCED SEARCH -->
<!-- BEGIN CONTENT WRAPPER -->
<!--<div class="content">
    <div class="container">
        <div class="row">

            <div class="main col-sm-12">

             
                <h3> Search results </h3>
                <table class="table table-striped table-hover table-bordered">
                    <thead>
                        <tr>
                            <th>Address</th>
                            <th>Project Name</th>
                            <th>Price</th>
                            <th>Land Type</th>
                            <th>Property Type</th>
                            <th>Land(m.sq)</th>
                            <th>Build Up(m.sq)</th>
                            <th>Trasaction Date</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr ng-repeat="obj in objects | filter : paginate">
                            <td>{{obj.Alamat}}</td>
                            <td>{{obj.Daerah}}</td>
                            <td>{{obj.Price}}</td>
                            <td>{{obj.LandType}}</td>
                            <td>{{obj.PropertyType}}</td>
                            <td>{{obj.Land}}</td>
                            <td>{{obj.BuildUp}}</td>
                            <td>{{obj.TransactionDate | date:"MM/dd/yyyy"}}</td>
                        </tr>
                    </tbody>
                </table>
                
                <!--<div lskpagination total-items="totalItems" ng-model="currentPage"
                                max-size="5" boundary-links="true"
                                items-per-page="numPerPage" class="pagination-sm">
                </div>-->

                <!--<ul uib-pagination  boundary-links="true" total-items="totalItems" ng-model="currentPage" num-pages="numPerPage"></ul>-->


                <!--<lskpagination num-pages="numPerPage" current-page="currentPage" class="pagination-small"></lskpagination>-->

                <!--<div>
                    <table ng-table="tableParams" class="table table-striped" show-filter="true">
                        <tr ng-repeat="data in $data">
                            <td data-title="'Address'" sortable="'Address'" class="col-md-2" filter="{ 'Address': 'text'}">{{data.Alamat}}</td>
                            <td data-title="'Project Name'" sortable="'Kawasan'" class="col-md-2" filter="{ 'Kawasan': 'text'}">{{data.Kawasan}}</td>
                            <td data-title="'Price'" sortable="'Price'" align="center" class="col-md-1" filter="{ 'Price': 'text'}">{{data.Price | number}}</td>
                            <td data-title="'Land Type'" sortable="'LandType'" class="col-md-1" filter="{ 'LandType': 'text'}">{{data.LandType}}</td>
                            <td data-title="'Property Type'" sortable="'PropertyType'" class="col-md-1" filter="{ 'PropertyType': 'text'}">{{data.PropertyType}}</td>
                            <td data-title="'Land Area(m.sq)'" sortable="'Land'" align="center" class="col-md-1" filter="{ 'Land': 'text'}">{{data.Land}}</td>
                            <td data-title="'Build Up(m.sq)'" sortable="'BuildUp'" align="center" class="col-md-1" filter="{ 'BuildUp': 'text'}">{{data.BuildUp}}</td>
                            <td data-title="'Transaction Date'" sortable="'TransactionDate'" align="right" class="col-md-1" filter="{ 'TransactionDate': 'text'}">{{data.TransactionDate  | date:"MM/dd/yyyy"}}</td>
                        </tr>
                        <tr>
                            <td><strong>Count per page:</strong> {{tableParams.count()}}</td>
                            <td colspan="8" align="right">
                                <p><strong>Page:</strong> {{tableParams.page()}} </p>
                            </td>
                        </tr>

                    </table>
                </div>-->

            </div>


        </div>
    </div>
</div>
<!-- END CONTENT WRAPPER -->